<div id="breadcrumbAdmin" class = "breadcrumb">
        <?php $this->Html->addCrumb('Login', '/Customers/login', array('style'=> ('text-decoration:underline; color:#EB1E70;'))); ?>
        <?php echo $this->Html->getCrumbs(' > ', array( 'text' => 'Home', 'url' => array('controller' => 'Pages', 'action' => 'pagehome'), 'escape' => false)); ?>
</div>


    <div id="public_left">
            <h2 style="border-bottom:solid 1px;">Login</h2>
            <p style=" color:#F082A6;">All fields marked with * are required</p>
            <?php echo "Enter your username and password below to access manage your account." ?>
            <p></p>

            <?php
                    echo $this->Form->create();
                    echo $this->Form->input('username');
                    echo $this->Form->input('password');
                    echo $this->Form->end('Login');
                    echo $this->Html->link(__('Forgot your username or password?'),"javascript:void(0)", array( 'class' => 'expandLogin'));
            ?>

            <?php echo $this->Html->script('jquery.form'); ?>
            <div style="margin-top:8%;" id="forgotpasswordaddin">
                <p>Please enter your email and we will send you a password reactivation link shortly</p>
                <?php echo $this->Form->create(array('action'=>'sendForgotPassword')); ?>
                <?php
                    echo $this->Form->create();
                    echo $this->Form->input('email');
                ?>
				<?php echo $this->Form->hidden('customerlink',array('value'=> Configure::read('constantVar.siteurl')."/customers/resetPassword/"));?>
                <?php echo $this->Form->end(__('Send')); ?>
            </div>
    </div>

    <div id="public_right" style="height:400px;">
        <?php echo $this->Html->image('rose.jpg', array('alt' => 'Pink rose')); ?>
    </div>



<script type="text/javascript">

    $(document).ready(function() {

        $('.expandLogin').click(function(){

           var forgotpasswordaddin = '#forgotpasswordaddin';

           $(forgotpasswordaddin).fadeIn(400);

           return false;

        });

    });

</script>


